package com.portal4kids.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "holidays")
public class Holidays implements Serializable{
	private static final long serialVersionUID = 1L;
	private int id_holidays;
	private String name = "none";
	private String address = "none";
	private String type;
	private String description = " ";
	private int rating = 0;
	private int avarage = 0;
	private int numberOfVotes = 0;
	private String comments = "none";
	
	@Id
    @GeneratedValue
	public int getId_holidays() {
		return id_holidays;
	}
	public void setId_holidays(int id_holidays) {
		this.id_holidays = id_holidays;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	@Column(name="description", length=10000)
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getRating() {
		return rating;
	}
	public void setRating(int rating) {
		this.rating = rating;
	}
	public int getAvarage() {
		return avarage;
	}
	public void setAvarage(int avarage) {
		this.avarage = avarage;
	}
	public int getNumberOfVotes() {
		return numberOfVotes;
	}
	public void setNumberOfVotes(int numberOfVotes) {
		this.numberOfVotes = numberOfVotes;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	

}
